All Questions
Tagged with memorymathematical-optimization
10 questions
0votes
0answers
76views
Mixed Integer Quadratic Program (MIQP): Kernel crashes during computation
I am solving an optimal placement problem using MIQP (Mixed Integer Quadratic Program, using the QuadraticOptimization function WM version 14). The objective ...
5votes
0answers
74views
Memory leak in FindMinValue?
I was running some geometric optimisation code today using FindMinValue and for some reason at one point the memory usage goes upwards of 14GB, making the kernel ...
0votes
0answers
68views
Calculating my code for higher values of `k`?
How do I calculate the mean of A for higher values of k ...
1vote
0answers
86views
Memory leak in simple program
I am trying to solve a simple optimization problem on the sphere, and for some reason, I got some memory leak that I am not able to solve. To decompose the problem in step, what I wan to do is Take ...
0votes
1answer
69views
How to optimize this script?
fx8350, 16Gb ram just need to solve this: 13, 19, 19, 16, 26, 33, 26, 31, 5, 24, 21, 34, 35, 35, 35, 20, 7, 12, 18, 17, 6, 8, 15, 24, 2, 17, 15, 22, 29, 15, 21
4votes
1answer
264views
estimation of values using NMaximize over symbolic array entries
I'm trying to generate instances of a dataset that satisfy specific conditions, based on the following equation: Each of four non-zero terms (term 1, A; term 3, B; term 4, C; term 5, D) is a scalar. ...
3votes
0answers
153views
Possible memory leak in FindMinimum? (MMA v10.0)
So I was running some code when I noticed Mathematica was gulping memory, and after some debugging I think the culprit is found. It turned out the function ...
8votes
1answer
651views
NMinimize with NIntegrate (crash in symbolic evaluation, memory leak)
This is a "common" problem from what I've seen, but with a different spin. I have a function I use often that finds a fit of an expression to another expression with some free parameters (e.g. for ...
2votes
1answer
532views
Simple-looking Minimize takes for ever
Consider the following: Minimize[{(ξ - x)^2 + (η - y)^2, a ξ + b η == c}, {ξ, η}, Reals] After asking Mathematica to do this yesterday afternoon and forgetting ...
0votes
1answer
291views
FindMinimum runs out of Memory
I have a function which runs fine when I evaluate it. However, when I try to find its optimal parameters using FindMinimum it quickly consumes all available memory (...